setSwitchBarText
Set the text to display when the switch is in the on or off state.
Parameters
onTextId
The string resource for when the switch is on.
offTextId
The string resource for when the switch is off.
Set the text to display when the switch is in the on or off state.
The string resource for when the switch is on.
The string resource for when the switch is off.